package com.alinesno.cloud.base.logger.entity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.alinesno.cloud.common.facade.orm.entity.BaseEntity;

/**
 * 监控基类(记录一些基础的监控信息)
 * 
 * @author WeiXiaoJin
 * @since 2020年1月26日 下午19:45:08
 */
@SuppressWarnings("serial")
@MappedSuperclass
public class BaseWatcherEntity extends BaseEntity {

	@Column(name = "application_name")
	private String applicationName;
	
	@Column(name = "ip")
	private String ip ; 
	
	@Column(name = "hostname")
	private String hostname ; 

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getHostname() {
		return hostname;
	}

	public void setHostname(String hostname) {
		this.hostname = hostname;
	}

	public String getApplicationName() {
		return applicationName;
	}

	public void setApplicationName(String applicationName) {
		this.applicationName = applicationName;
	}

}
